﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace GuRenFang.Service.Entity
{
    public abstract class ContentInfo
    {
        [Key]
        public int Id { get; set; }
        
        [Required(ErrorMessage = "必须填写内容")]
        [Display(Name = "内容")]
        public string Content { get; set; }
        
    }

    public class TipsInfo : ContentInfo
    {

    }

    public class CompanyInfo : ContentInfo
    {

    }
}
